package com.ywk.swagger.business.service;

import com.ywk.swagger.business.entity.User;
import com.ywk.swagger.business.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author zbh
 * @Date 2023/7/11
 */
@Service
public class UserService {

    @Autowired
    UserMapper mapper;

    public List<User> findAll(){
        return mapper.findAll();
    }
}
